import yaml

from utils.project_path import ProjectPath


def get_yaml_data(file_path):
    with open(file_path, 'r', encoding='utf-8') as f:
        return yaml.safe_load(f)


if __name__ == '__main__':
    print(get_yaml_data(ProjectPath.configs_path / 'common_elements.yaml'))
